<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Vue—基础编码</title>
    <script src="../myVue/vue.js"></script>
</head>
<body>
    <!-- 设置Vue最外层的div -->
    <div id="app"><p>软件五班尹浩刚</p></div>
</body>
<script>
    // 声明Vue控制对象
    var vm=new Vue({
        el:"#app", //设置最外层的div
        data:{
            msg:'软件五班尹浩刚'
        }
    })
</script>
</html>